home *** CD-ROM | disk | FTP | other *** search
-
- Put this with the other function declarations, before cdevsw:
-
- /* Dialup IP. */
- #include "du.h"
- #if NDU > 0
- int dialupopen(), dialupclose(), dialupread(), dialupioctl();
- #else
- #define dialupopen nodev
- #define dialupclose nodev
- #define dialupread nodev
- #define dialupioctl nodev
- #endif /* NDU */
-
- ------------------------------
-
- Put this inside cdevsw. Use a free number, shown below as 60, and
- note it for later:
- {
- dialupopen, dialupclose, dialupread, nodev, /* 60 */
- dialupioctl, nulldev, nulldev, 0,
- nodev, nodev, 0
- },
-